import { http } from '@/common/https.js'

// 获取轮播图
export const bannerListApi = (data) => {
  return http({
    url: '/logistics/banner/list',
    method: 'get',
  })
}

// 获取预计提醒数量
export const alertListApi = (data) => {
  return http({
    url: '/logistics/alert/list',
    method: 'get',
    data,
    custid: true
  })
}

// 获取我的代办数据
export const taskManageMylistApi = (data) => {
  return http({
    url: '/task/manage/mylist',
    method: 'post',
    header: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data
  })
}

// 我的已办 
export const taskManageMyAlllistApi = (data) => {
  return http({
    url: '/task/manage/mydone',
    method: 'post',
    header: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data: data
  })
}